import yaml


def read_yamlDate(file_path):
    with open(file_path,encoding="UTF-8") as f:
        yaml_data=yaml.load(f,yaml.FullLoader)
        return yaml_data
if __name__ == '__main__':

    data_1=read_yamlDate(r"D:\pythonWorkspace\note_interface_auto\data\username_password.yaml")
    print(data_1)